DiviSquad\Utils\Logger S

Total Complexity 44
Dependencies 2
Dependents 0
Total lines 359
Lines of code 138
Logical lines of code 69
Comment lines 170
Methods 21
Properties 8

Methods 21

Method Rating Maintainability Complexity Lines of code
__construct()
S
60 7 11
log()
S
63 4 10
validate_config()
S
64 4 9
is_database_table_ready()
S
61 3 11
get_logs_from_database()
S
56 2 18
ensure_log_directory_exists()
S
66 3 8
write_to_file()
S
70 3 6
rotate_log_files()
S
63 3 10
format_log_entry()
S
70 2 5
write_to_database()
S
59 1 15
get_log_file_content()
S
78 2 3
critical()
S
79 1 3
emergency()
S
79 1 3
alert()
S
79 1 3
clear_database_logs()
S
72 1 5
error()
S
79 1 3
warning()
S
79 1 3
notice()
S
79 1 3
info()
S
79 1 3
debug()
S
79 1 3
clear_log_file()
S
79 1 3